<!--
 * @Author: wjc
 * @Date: 2025-09-09 10:22:25
 * @LastEditors: wjc
 * @LastEditTime: 2025-09-29 16:47:31
 * @Description: 
-->
<template>
  <NiceDropdownRadioMenu v-model="modelValue" :menus="menus">
    <NiceButton variant="icon" size="icon" tooltip="切换语言">
      <i class="i-custom-language?mask size-5"></i>
    </NiceButton>
  </NiceDropdownRadioMenu>
</template>

<script setup lang="ts">
  import { NiceButton, NiceDropdownRadioMenu } from '@nice/nice-ui'

  defineOptions({ name: 'LayoutLanguage' })

  const menus = ref([
    {
      value: 'zh',
      label: '中文',
    },
    {
      value: 'en',
      label: 'English',
    },
  ])

  const modelValue = ref('zh')
</script>

<style lang="scss" scoped></style>
